/* Локальные дополнения: адаптив, стрелки слайдера */

body {
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

/* «Наверх»: стрелка вместо картинки */
.cd-top::before {
	content: "↑";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	line-height: 1;
	color: #fff;
	text-indent: 0;
}

/* Комнаты: высота превью на узких экранах */
@media (max-width: 991px) {
	.thumb {
		height: 320px;
		min-height: 200px;
	}
}

@media (max-width: 767px) {
	.thumb {
		height: 260px;
	}

	.detail {
		height: auto;
		min-height: 0;
	}

	.navbar-nav > li > a {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	.bookpart .righttxt {
		text-align: center;
		margin-top: 10px;
	}

	.bookpart h3 {
		text-align: center;
	}

	.bantitle {
		font-size: clamp(28px, 8vw, 80px);
		word-wrap: break-word;
	}
}

/* Галерея: сетка без горизонтального скролла */
.gallery .row {
	margin-left: -6px;
	margin-right: -6px;
}

.gallery .picthumb {
	box-sizing: border-box;
	vertical-align: top;
}

@media (max-width: 480px) {
	.picthumb {
		width: calc(50% - 12px) !important;
		margin-left: 6px !important;
		margin-right: 6px !important;
	}
}

/* Форма бронирования: поля на телефоне во всю ширину */
@media (max-width: 480px) {
	#bookingform .col-xs-7,
	#bookingform .col-xs-5,
	#bookingform .col-xs-6 {
		width: 100%;
		float: none;
	}
}

/* Owl: стрелки видны без PNG */
.newsfront .owl-theme .owl-controls .owl-buttons div {
	text-indent: 0 !important;
	font-size: 0;
	color: transparent;
	overflow: hidden;
}

.newsfront .owl-theme .owl-controls .owl-buttons .owl-prev::after,
.newsfront .owl-theme .owl-controls .owl-buttons .owl-next::after {
	content: "‹";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	line-height: 1;
	color: #fff;
	font-weight: bold;
}

.newsfront .owl-theme .owl-controls .owl-buttons .owl-next::after {
	content: "›";
}

.newsfront .owl-theme .owl-controls .owl-buttons div {
	position: relative;
}

/* Внутренние страницы (.banner2): заголовок и breadcrumbs в колонку, без наложения */
.banner2 .container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.banner2 .bantitle {
	flex: 0 0 auto;
	line-height: 1.12;
	margin: 0;
	position: relative;
	z-index: 1;
}

.banner2 .container > .underline {
	width: 80px;
	max-width: 35%;
	border-bottom: 2px solid rgba(255, 255, 255, 0.65);
	margin: 16px auto 12px;
	padding: 0;
	height: 0;
	flex: 0 0 auto;
}

.banner2 .breadcrumbs {
	flex: 0 0 auto;
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0 12px;
	position: relative;
	z-index: 2;
	font-size: 15px;
	line-height: 1.5;
}
